package com.coderman.common.starter.idempotent.service.impl;

import com.coderman.common.starter.idempotent.service.DistributedLocker;
import org.springframework.stereotype.Service;

/**
 * Description:
 * date: 2020/9/25 4:39 下午
 *
 * @author fanchunshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
@Service(value = "redissionLockImpl")
public class RedissionLockImpl implements DistributedLocker {


    @Override
    public void unlock(String lockKey) throws Exception {

    }

    @Override
    public boolean lock(String lockKey, int timeout, int tryCount, int sleepTime) throws Exception {
        return false;
    }

    @Override
    public boolean lock(String lockKey, int timeout) throws Exception {
        return false;
    }
}
